package com.model;

/**
 * Ret_prd_indtId entity. @author MyEclipse Persistence Tools
 */

public class Ret_prd_indtId implements java.io.Serializable {

	// Fields

	private String vdr_prd_seq_id;
	private String act_typ;

	// Constructors

	/** default constructor */
	public Ret_prd_indtId() {
	}

	/** full constructor */
	public Ret_prd_indtId(String vdr_prd_seq_id, String act_typ) {
		this.vdr_prd_seq_id = vdr_prd_seq_id;
		this.act_typ = act_typ;
	}

	// Property accessors

	public String getVdr_prd_seq_id() {
		return this.vdr_prd_seq_id;
	}

	public void setVdr_prd_seq_id(String vdr_prd_seq_id) {
		this.vdr_prd_seq_id = vdr_prd_seq_id;
	}

	public String getAct_typ() {
		return this.act_typ;
	}

	public void setAct_typ(String act_typ) {
		this.act_typ = act_typ;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Ret_prd_indtId))
			return false;
		Ret_prd_indtId castOther = (Ret_prd_indtId) other;

		return ((this.getVdr_prd_seq_id() == castOther.getVdr_prd_seq_id()) || (this
				.getVdr_prd_seq_id() != null
				&& castOther.getVdr_prd_seq_id() != null && this
				.getVdr_prd_seq_id().equals(castOther.getVdr_prd_seq_id())))
				&& ((this.getAct_typ() == castOther.getAct_typ()) || (this
						.getAct_typ() != null && castOther.getAct_typ() != null && this
						.getAct_typ().equals(castOther.getAct_typ())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getVdr_prd_seq_id() == null ? 0 : this.getVdr_prd_seq_id()
						.hashCode());
		result = 37 * result
				+ (getAct_typ() == null ? 0 : this.getAct_typ().hashCode());
		return result;
	}

	@Override
	public String toString() {
		return "Ret_prd_indtId [vdr_prd_seq_id=" + vdr_prd_seq_id
				+ ", act_typ=" + act_typ + "]";
	}

}